<?php
Route::group(['namespace' => 'Search','middleware' => ['web']], function () {
  Route::any('admin/keyword/video/list/ajax', 'KeywordVideoAjaxController@dataList');                            //关键词视频列表ajax
  Route::any('admin/keyword/video/comment/list/ajax', 'KeywordVideoCommentAjaxController@dataList');             //关键词视频评论列表ajax
  Route::any('admin/keyword/list/ajax', 'KeywordVideoCommentAjaxController@dataList');             //关键词视频评论列表ajax
	Route::any('admin/keyword/video/list/serach', 'KeywordVideoAjaxController@searchkeyword');  //搜索关键词
	Route::any('admin/keyword/video/save/ajax', 'KeywordVideoAjaxController@saveKeyword');  //添加修改关键词
	Route::any('admin/keyword/video/delet/ajax', 'KeywordVideoAjaxController@deletKeyword');  //删除关键词
	
	Route::any('keyword/video/status', 'KeywordVideoCommentAjaxController@status');//修改关键词评论列表状态
	
	Route::any('keyword/video/save', 'KeywordVideoCommentAjaxController@info');//修改关键词视频评论的联系方式
	
	Route::any('admin/keyword/comment/info/ajax', 'KeywordVideoCommentAjaxController@infoAjax'); //作品雷达评论列表ajax
	Route::any('keyword/video/edit', 'KeywordVideoCommentAjaxController@edit');//修改作品雷达评论的联系方式
});

Route::group(['namespace' => 'Search','middleware' => ['admin']], function () {
  Route::get('admin/keyword/video/list', 'KeywordVideoController@index');                                        //关键词视频列表
  Route::get('admin/keyword/video/comment/list', 'KeywordVideoCommentController@index');                         //关键词视频评论列表
	Route::get('admin/keyword/list/info', 'KeywordVideoController@info');                         //关键词列表
	Route::get('admin/keyword/video/comment/info', 'KeywordVideoCommentController@info');                         //作品雷达评论列表
});